#show-handytab-menu-item
{
  list-style-image: url("chrome://handytab/skin/toolbar_16.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}

#markpage-handytab-menu-item, #context-handytab-markpage, #context-handytab-marklink
{
  list-style-image: url("chrome://handytab/skin/toolbar_16.png");
  -moz-image-region: rect(0px 32px 16px 16px);
}

#handytab-status
{
  list-style-image: url("chrome://handytab/skin/toolbar_16.png");
  -moz-image-region: rect(16px 16px 32px 0px);
}
#handytab-status[markmode]
{
  -moz-image-region: rect(0px 16px 16px 0px);
}

#show-handytab-button {
  list-style-image: url("chrome://handytab/skin/toolbar_24.png");
  -moz-image-region: rect(0px 24px 24px 0px);
}

#show-handytab-button:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 24px 48px 0px);
}
#show-handytab-button[disabled="true"] {
  -moz-image-region: rect(48px 24px 72px 0px);
}
#show-handytab-button:not([disabled="true"]):hover:active {
  -moz-image-region: rect(72px 24px 96px 0px);
}

toolbar[iconsize="small"] #show-handytab-button {
  padding-left: 1px;
  list-style-image: url("chrome://handytab/skin/toolbar_16.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}
toolbar[iconsize="small"] #show-handytab-button:not([disabled="true"]):hover {
  -moz-image-region: rect(16px 16px 32px 0px);
}
toolbar[iconsize="small"] #show-handytab-button[disabled="true"] {
  -moz-image-region: rect(32px 16px 48px 0px);
}
toolbar[iconsize="small"] #show-handytab-button:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 16px 64px 0px);
}

#markpage-handytab-button {
  list-style-image: url("chrome://handytab/skin/toolbar_24.png");
  -moz-image-region: rect(0px 48px 24px 24px);
}

#markpage-handytab-button:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 48px 48px 24px);
}
#markpage-handytab-button[disabled="true"] {
  -moz-image-region: rect(48px 48px 72px 24px);
}
#markpage-handytab-button:not([disabled="true"]):hover:active {
  -moz-image-region: rect(72px 48px 96px 24px);
}

toolbar[iconsize="small"] #markpage-handytab-button {
  padding-left: 1px;
  list-style-image: url("chrome://handytab/skin/toolbar_16.png");
  -moz-image-region: rect(0px 32px 16px 16px);
}
toolbar[iconsize="small"] #markpage-handytab-button:not([disabled="true"]):hover {
  -moz-image-region: rect(16px 32px 32px 16px);
}
toolbar[iconsize="small"] #markpage-handytab-button[disabled="true"] {
  -moz-image-region: rect(32px 32px 48px 16px);
}
toolbar[iconsize="small"] #markpage-handytab-button:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 32px 64px 16px);
}

.tabbrowser-tab[handytab=true] .tab-icon-image {
  list-style-image: url("chrome://handytab/skin/toolbar_16.png") !important;
  -moz-image-region: rect(0px 16px 16px 0px) !important;
	margin-left: 5px !important;
	margin-right: 5px !important;
}

.tabbrowser-tab[handytab=true] .tab-text{
	visibility: collapse !important;
}

.tabbrowser-tab[handytab="true"][hide-close-button] .tab-close-button {
  visibility: collapse !important;
}

